unit cmdSetHeight;

interface

uses  classes, sysutils
    , nativeXml
    , appMappldXmlNode
    , appMappldXmlCommand
    , appMappldTypes
    , appMappldXmlContext
;

type
    {------------------------------ TCmdSetHeight }

    {***************************************************************************
    * TCmdSetHeight
    ***************************************************************************}
    TCmdSetHeight = class( TMappldXmlCommand )
protected
    procedure   internalProccess(); override;
    end;

implementation

{*******************************************************************************
* internalProccess
*******************************************************************************}
procedure TCmdSetHeight.internalProccess();
begin
    FxmlContext.height := FxmlNode.ValueAsIntegerDef( 480 );
end;

initialization

TMappldXmlCommand.registerCommandByCode( XML_CMD_SetHeight, TCmdSetHeight );

end.
